a little work on login