Check study access rights and study exists

 Fix #445
Do not import study here, I think we agreed that we are not going to import those objects across other objects, it is highly probable to end up with import errors (cycles)