Update user.rb

before_save hook was referencing an undefined instance variable "@user". Changed it to correct @username.