creating a mechanism for room passwords