Fixing bug.

there is no param[:user_id].  It should be param[:id]