fixed login overlay

renamed app.js to login.js and resolved code injection for the to allow
login box to popup over content.
Added the ability to close login box by clicking darkened overlay and
the X in the top right of the login box.