I'd like to start off saying I know there are other questions on here about this however none of them are using rails 4 and I could not get their suggestions to work. The error I am getting is "uninitialized constant HomeController"

code in index.html.erb

```
<%if user_signed_in? %>
    <p align= "right">Hello <%=current_user.email %> <%= link_to "sign out", destroy_user_session_path, :method => :delete %></p> 

```

Here are the first 3 lines to application.html.erb

```
<!DOCTYPE html>
<html>
<%= javascript_include_tag :defaults %>

```

I'm thinking it might have something to do with this line in my routes.rb file

```
root 'home#index'

```

Thanks in advance