validations and navigation handled