Sequence diagram and picture for loggin