Added DeleteMeasurementsTask

Fixed error in Registry.
Cleaned up Registry and Login Activity.