added playlist ui and some of the logic