Frontend now only serves the map on valid login/register.