Simple PHP Security Class