I'm trying to combine JSON parsing with authentication (see http://stackoverflow.com/questions/14688485/how-to-combine-body-parser-and-security-in-play). I keep getting a compilation error (trying to return *EssentialAction* instead of *Action[(play.api.mvc.Action[A], A)]*):

> type mismatch;
>  found: play.api.mvc.EssentialAction
>  required: play.api.mvc.Action[(play.api.mvc.Action[A], A)]

What's wrong?