added go function for clearing credentials table