Validations and navbar