updated front UI
fixed typos
get appname from the api
Setup logout logic, auto logout and add link