Fixed Login/Logout Errors

Moved around routes to work better.