fix login from blog