for pause save
complete the auth and sign_in function