fixed a bug in the database manager
added favorite rooms to a profile + a bug fix in profile manager where the profiletable wasn't getting created correctly