Changed form action to url_for('index') rather than url_for('search_flickr')