defined some actions in user-controller