Submit info to db working