starting work on login but it is still kind of broken