Implement login check as a service