Login functionality implemented, fixed HectorException issue
Included loading bar to make up for waiting for HectorException to
trigger