Only ouput action lionks if user is logged in