better logout
added logout and abort
tried stuff