Added a choice dialog and got it working with the sign out button on the home activity