module SessionsHelper
  def current_user
    User.find_by(id: session[:user_id]) if session[:user_id]
  end

  def logged_in?
    current_user != nil
  end
end
Create sessions helper with current user helper method
Create sessions helper with current user helper method
