The first one displays the login screen or the home screen, based on the condition if you are logged in. The second route validates the login variables on login..