moved link_to to application.html.erb with conditions...thanks Rob