added picture model to db and gave to user