Joining objects check

todo: locking of all tables should be in service layer @Blemicek
fix #30