Added logOut button, and some more another fixes.