Changed all render_to_response to render