fixed _sidebar.html.erb to only show links that are available when logged inn