updated views and init for logins
added imports to views.py so login fully works!!!