it should be a instance variables.
```ruby
@user = User.new
```
local variables can be accessed only in action of controller.