removed login_views.py and moved login functions back to views.py