add logic for Submit and Continue
improve DbConnection
delete DbConnection from repo