/// <summary>
        /// Sends current userId to other pages - profile info, progress and charts
        /// </summary>
        /// <param name="val"></param>
        public void SendUserId(int userId)
        {
            //user id to profile info
            ProfileInfoVM.SetUserValues(userId);

            //user id to progress page
            ProgressVM.SetUserValues(userId);

            //user id to charts page
            ChartsVM.SetUserValues(userId);
        }
 public void UpdateProfileData()
 {
     ProfileInfoVM.UpdateData();
     UpdateDashboard();
 }
 public void EditProfileData()
 {
     ProfileInfoVM.EditData();
 }