Logout and validations for OpenID added