added login logout register
maintain playlist state