- Added API call to register user in backend.
- Added a utility function to check network connectivity and display
  a toast.
- Added an ErrorMessages class to display various errors.