Added redirect to login page if user has not logged in and tries to access the dashboard or user mgmt page