@Override
	public Response handle(JsonElement data) {
		
		Response res;
		
		Location loc = GsonFactory.getGsonInstance().fromJson(data, Location.class);
		
		if(loc != null) {
			
			boolean locRemove = locHome.remove(loc);
			
			if(locRemove) { 
				res = new Response(Status.ok, null, null);
				Log.getLogger().finer("removed location from database");
			} else {
				res = new Response(Status.failed, "could not remove from database", loc);
				Log.getLogger().fine("could not remove location from database ");
			}
			
			
		} else {
			res = new Response(Status.ok, null, null);
			Log.getLogger().fine("fingerprint is not in the database");
		}
		
		
		
		
		
		return res;
	}