Scripts added and updated structure scripts

Was Add the procedures to add, update and delete clients.
A Function was add to help create the username.
A relationship error has been repaired