Working friend request function and some fixes to post - with changes to the models