cleanup for auth form