add two end statements into the controller
Merge pull request #12 from unknownbreaker/master

add two end statements into the controller