Make sure chat is for registered users only and redirect after login