How to properly move Character by camera?

I made a WASD movement, but I need the person to move in the direction the camera is looking at and he can turn the camera.

This should be roughly what you are looking for.
The movement prior to the camera part was handled in the episode before this one: