added min length and max length validation rule
added min and max length to validation rule for username and max length for email validation
updating user's session variables after editing information