changed and tested before_save user method