IMCE directory per user
Its a syntax error, generated because you're missing some parenthesis or other required syntax. Do you have a semicolon at the end of return 'users/'.$user->name? 
Should be: 
'users/'.$user->name;