created frontend for sentiment analyzer