added isset for $_POST