implemented account loading functions