Events and profiles connected to db