Added log out and in