added validation for already existing users