T3,T4 task resolved.Changes:SQLqueries,LogOut,cook