Added UserService for client-side authentication