test
login
merge login to register
add core user and edit login, UserRepo, and can get ID from session!(prepare for openRes's part)