Copy paste from Devise since alias_method_chain failed