Messages are now saved in the database and the last 20 are returned to the users