Start work on login system
Redirect to previous page after login/logout