move login_hook and logout_hook setup, working gplus login