added logout button and such