Remove render call (hack on top of hack, ...) #FIX

This is a patch on top of a larger problem. It redirects
to the login page when a set is requested without permissions.
clean up meta terms after db refactoring