Stored procedure for cleaning database from Users and related data