Update IndexController.php

Show lengh of message if it's bigger than 200.
Fix bug in registration with wrong error messages.