fix "Undefined method model in auth_from"