Login working, need to refactor out to auth service.