Added a 500 error page.
Added some basic login functionality.