Room creation and edition. Room authorizations.
minor cleaning
checkAuth function