implemented accept/reject friend request but not fully completed. beware: code is ugly and will cause brain damage!