validation

added validation on unique email and username