Fix bug in friendship handling and implement declining requests