updated routes, fixed views