Added logged in and assigned checks to shortcodes