added logout
added Schemata and logout redirect