changed :friend to friend in get param accessor