adds comments on auth logic