logout functionality, local Storages

implemeted