Created custom endpoint for users