Fixed JS error when Document has no 'resizeurl' action.
Added missing route for User profile.