pep8
define messages for authorization code flow
define messages for implicit flow