Added basic user authentication, buildings, redirects for bad logins, etc.