started rest service, implemented login call