Implemented logged in state across all web pages. If the user is not logged in the filter will redirect to login page