Added link_to function to layout