Did some stuff for log out. Doesn't work yet though.

Don't click it, it'll crash