Changed dependency to owncloudUser class

Still not great, should remove dependency all together, and let the
calling class facilitate it