actions and control to vue