Update before_filter for authentication