```ruby
class WelcomeController < ApplicationController
  def index
  	
  end
end
```

Change method index to signin
user
```ruby
class WelcomeController < ApplicationController
  def signin
		if user_signed_in?
			redirect_to home_path
		end  	
  end
end
```
assistant