Added navigation bar and validations to models