Minor changes

Minor changes to friend, survey and friend_input.php