add user, message and datebase class