add register api
regiseter service
add login and register api
resolve conflict