Added a progress dialog box which appears after pressing the login button