Multiple Changes

Fixed some bugs for the service.
Added profile loading for the pedometer
Patched a bug in UserProfile.java