Explicit relative imports

Added login_required decorator

If no id parameter, returns empty json