Added before_filter for Devise