3D side scroller game movement control problems

To anyone who ever comes across the same problem. Here is the solution for the jumping.

and the solution for the second problem is:
go to your character’s defaults setting, find Pawn section, dont check on Use Controller Rotation Yaw, like this:

This should solve the problems.