add login button to homepage and redirect logged in users. Going to learn page saves flag in db