move plugins to plugins.py to make it easier to avoid circular imports
add decorator for protecting pages using beamline or vbl plugins