main.js: Bugfix
messenger_code(): Changed default type

to error
User model: Mass assignment stuff