Added basic auth and admin pages.