fixed unless/else username.empty?