Replaced render_to_response with render