Stored Procedures applied to registration