Added Helpers class and fixed some of the error handling in LoginFragment