server responds to requests for login, and the default chat page. Now, its js time