added helper function check for google password