Added owns function for the User Repository. Improved thread hits system