Mad submit improvements.

Updating UI, including dynamic gfy loading, and trying to move
login/logout/register functions to a static directory.. still
incomplete.