Register bugfixes

Location can now be retrieved from wifi