Account Settings

Made account settings slightly less dependent on mysql...