When user is not logged in, he should be log out and redirected automatically to the log in page. Have to be done on every component. Add auth guard on parts of the application that should not be seen by un-authenticated people.