added login logic for when driver creates pool (saved data to sharedpreferences)