Fixed errors in models. Added queries for adding dogs and session. Fixed some stuffs in routes