Fixed issue with resource retrieval (resources appeared under different users)