changed some of the routes

changed routes for login, logout and register