added compass and user localization