git key mangement hook
updated door logic for the controllers