<%= if (current_user) { %>

<%= current_user.Email %>

<%= linkTo(loginPath(), {data-method: "DELETE"}){ %>Sign Out<% } %> <% } else { %>

Sign In

<%= formFor(user, {action: loginPath(), method: "POST"}) { %> <%= f.InputTag("Email") %> <%= f.InputTag("Password", {type: "password"}) %>
<% } %>

<%= linkTo(oauthProviderPath({provider: "github"}), {class: "btn btn-success"}){ %>Github Login<% } %> <%= linkTo(newUsersPath(), {class: "btn btn-success"}){ %>Create Account<% } %>
<% } %>