Storing and reading user from db