changing redirection on login/logout

Removing logic of storing checking_out in session
Adding query string for redirecting on login/logout to correct page