ticket:2 Added ProgressDialog and logout button