fixed routes so that login is the index page