fixed redirection for pebble login