items.php overhaul

items.php now includes login.php for functions, any webpage added should
include it as well. defaults and some issets so no default errors thrown