Fixxed bug with user profile validation