Redirect back to where you were before login

Close #8.