added before action method in nutshell controller
refactor for nutshell user before action
Merge pull request #9 from mgidea/refactor_before

Refactor before