added submit problem

also now the problems displayed are actually saved in the db