Attempting to implement auth.