changed name to login and got ctx passed back and forth