add login and google analytics