@startuml
'https://plantuml.com/state-diagram

[*] -> browsingTrials
browsingTrials --> applyingToTrial : apply button pressed [trial expanded]
applyingToTrial --> appliedToTrial : apply button pressed [terms accepted]
applyingToTrial -> browsingTrials : back arrow pressed
appliedToTrial ----> browsingTrials : navigate to trial listing
browsingTrials -> [*] : log out

state browsingTrials : entry/ see available trials\ndo/ scroll or expand trial

state applyingToTrial : entry/ see 'deltager information'

state appliedToTrial : /do subscribe or unsubscribe trial

@enduml