created index_view_header method in User class to move logic from view to model, and added minimal CSS