took clients_secret file out of function