functions for cadastrar,consultar,economizar