working views and navbar