post function successfully posting the correct user_id to the DB

when going on another users profile and post a message, the user_id's
are recorded correctly within the DB just need to create the SQL
statement to display the data.