First version of the login code
Not sure what this is about
Not sure if this will work.