added validation messages to user.