add validation of user