code cleanup and ui updates

link_to block statements removed