Fixed bug wwith user profile validation