Merge pull request #26 from VladislavPovedyuk/dev

 small security fix
time_start & time_end check
fix deleting last doctor
time...
fix
fix
need fix
resolve conflict