added service for user registration/login