refactor user service. login submit changes