fixed a few more things, added logout button