Added status messages to php functions frontend/php.