Login bugs fixed.
Geofence rewrited from knockout to angularjs