Add validation on some fields and made the alerts use bootstrap