added validation with db on signup