Direct usage of $_POST is not a good idea. Use the request object instead