get '/' do
  erb :index
end

get '/index' do
  redirect '/'
end

#-------------AUTH----------------

get '/login' do
  erb :login
end

post '/login' do
  #create a new session w/ conditional logic
  redirect '/'
end

get '/signup' do
  erb :sign_up
  #sign up form
end

post '/signup' do
  #create user, set the session
  redirect '/'
end

get '/logout' do
  redirect '/'
end

#-------------USERS---------------

get '/user/:id' do
  #show basic user profile
end

post '/user/:id/edit' do
end

post '/user/:id/delete' do
  #delete user profile
end







get '/' do
  erb :index
end

get '/index' do
  redirect '/'
end

#-------------AUTH----------------

get '/login' do
  erb :login
end

post '/login' do
  #create a new session w/ conditional logic
  redirect '/'
end

get '/signup' do
  erb :signup
  #sign up form
end

post '/signup' do
  #create user, set the session
  redirect '/'
end

get '/logout' do
  redirect '/'
end

#-------------USERS---------------

get '/user/:id' do
  #show basic user profile
end

post '/user/:id/edit' do
end

post '/user/:id/delete' do
  #delete user profile
end







Correct name of signup erb
Correct name of signup erb
