Created an AlertDialog upon clicking Logout Button