moved select_tentant! to main application controller so that devise can inherit form it