Added state to consumer, created provider login
random fixed