i dont remember what i did but sign out is now implemented and a lot of tiny details work.