login
simplified routes
made code more readable