add messages and favorites to db and models