Added a login page and some other tweaks.