Added model for user presence; write presence data to DB