added logout button
git deleted unnesseesary code