Added login code
Completed first pass at login function

Login works on back end