checkRoom backend begins