Minor bug fixes

Added username validation
Bug fix in Dictionary of room properties