Foundation.php: added -user method

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>