still need to finish the message controller and test the api's