Redirect to previuos page after logging in
Redirect to previuos page after logout