settings working
remove debug
added logout