fixed login functionality, was missing @oid.loginhandler function decorator  on top of the login function in app/views.py