updated code, updated routes, added test user rake task, updated controllers and views