Check for $_POST index before using it
remove set method since it does not exist