Fixed the logged in user being set incorrectly and finished the friend request functionality