adding user post functionality