Implemented login status model and views
Login now works and updates the view