load and save user info from db. some fixes