implemented transactions scripts for signin and register
updated scripts