Finished login

Login works now