fixed the login process does not regenerate session ids
s/service/repository/
devide sql import to a service