OpenID login - part 2

essential.php and database also changed