firefox login

Move content script code to popup.html.

Get rid of crypto, it's not available in firefox web worker.
no removed it.