add instance variables to all methods in controller and pass them in the view pages
use link_to instead of a href tags