fixed user profile to use JS and not PHP, adding support for creating chatroom through javascript, removed some more php scripts.