replaced render_to_response by render