success! finally got login to work