Fixed bug with user profile validation (NOT YET)