Move can_modify method from helper to user model