Read account info from database