Changed current_user to resource in edit user form