Added login modal functionality

Not sure why, but the help link doesn't seem to be rendered in the HTML, also could use a little help getting the same type of logic found on the dedicated login page for hiding the registration button when closed.