Implemented storing uploaded codes and recipients in database