Improve sign in and sign up
Improve teacher course page logic
Improve main page logic