changed session login/logout  redirect to go to current page