router is functioning, still need to work on passing variables to render function of view