Fixed bug with user profile validatio