Update main and login routes