Join index and login routes into one