Fixed login_test, implemented login

Updated Back/Front interactions
login_test to be deleted when done testing
login to be cleaned up