Finished implementing Ace login api.