Removed unnecesary validation function from user model