adding email set to model and fixing bug in bootstrap code