gate security management system for residential apartments