Adds validation to the user