refactor views to use rails helpers and add navi