Change format of mailer from json to yaml
Fix authentication after student registration (is this secure?)