API cleanup. Login history cleanup. Title enforcing. Flags