Fixed flash messages, updated composer.json