added password verification for rooms