move some operation about init database to MemoApplication.java and modify register
modify login