Added decorators for rooms and removed all database access on frontend