Move things from application controller to sub controller
Fix bug :devise controller does not get before_filter and layout
Refactory code:

refactory controllers in master/child which inherit devise
use concern