Refactored HALLoginViewController

Refactored HALLoginViewController and added a method to
HALParseConnection.
commit

commit