"fixed logout function, refactor html"