try adding template, UI, fixing bug login and logout