logic.auth.update is a mess

clean imports and call correct auth functions not hard coded ones