2: Implemented login/logout and added grid