Update FormsController.php

- add needed annotations
- check if $mail exists