Unnecessary bundle refactored to a controller and basic security added
Unnecessary bundle refactored to controller