Added checking symfony requirements before showing success message