Fancy log in.

And also fixed some listeners