User registration, login, logout, final.

Small enhacements to the javascript/css frontend. Fixes #3.