storing executor code in database

made it such that executor form stores code for user in database