authenticate($username,$password); if(!$user) { die("Password or username is incorrect"); } echo "Username: {$user->username}\n"; echo "Email: {$user->email_address}"; ?>