```ruby
class PagesController < ApplicationController
    
    def home
        
    end
    
    def about
        
    end
    
end```

Add redirection to root if the a uses is logged in
user
```ruby
class PagesController < ApplicationController

    def home
        redirect_to articles_path if logged_in?
    end

    def about

    end

end
```
assistant