[BugFix] adding user authentication before edit and update profiles