Fixed a bug causing the ProgressDialog to be cancellable
Added a cancel button in LoginActivity