Updated accounts page with functionality