room assignments ajax working