Security wrapper for client-admin application. Needed to restrict access to admin-panel