redirect to https in registration and admin pages