Added before_filter to validate authentication with devise