redirect to the previous page after log in
Merge pull request #79 from Konviser/master

redirect to the previous page after log in