implement login 3.0

https://bugzilla.mozilla.org/show_bug.cgi?id=1090285
Same here, this is gone right?