finished login/logout and fixed all routes