moved before_save in users to model, where it belongs and works