changes UseXStorage to AuthenticationMethod
changes UseXStorage to auth.method