Updated base controller, need to refactor for customization on top of the devise applications etc