Created some basic account table functions