class WelcomeController < ApplicationController
  def index
  	
  end
end

class WelcomeController < ApplicationController
  def signin
		if user_signed_in?
			redirect_to home_path
		end  	
  end
end

Change method index to signin
Change method index to signin
