Fixed room name special character issue and added various authorization checks