Moved dashboard into separate file.
Moved login form and error page into separate files.