Updated login.html and main.py for redirect

after login, user is now forwarded to page originally requested (in
demo this works for authenticated page)