Exposing client-side JS code to the server (needs a better way...).
Improved unauthorized login message.

It nows mentions instructions on how to apply for beta access.