Logout and routes fixed
Bugs fixed