added edit profile link & profile display html

fixed PDO