added basic auth for admin pages