added logout button fixes #1