how create a new instance of an object?

Define the class, then use new to create an instance of the class:
class user {
    function load_info($username) {
       // load profile from database
    }
}

$user = new user;
$user->load_info($_REQUEST['username']);