added guest user flow, changed authentication flow