Template user logged in status check is for boolean value now, not for int